import request from '/@/utils/request';
import { AxiosRequestConfig } from 'axios';

// 分页查询
export const getAlgorithmBindListApi = (params?: object) => {
	return request({
		url: '/ITS/AlgorithmDeviceTypeAvailable/QueryPageList',
		method: 'post',
		data: params,
		multiPartFormData: false,
	} as AxiosRequestConfig);
}

// 新增
export const addAlgorithmBindListApi = (params?: object) => {
	return request({
		url: '/ITS/AlgorithmDeviceTypeAvailable/Add',
		method: 'post',
		data: params,
		multiPartFormData: false,
	} as AxiosRequestConfig);
}
//删除
export const deleteAlgorithmBindListApi = (params?: object) => {
	return request({
		url: '/ITS/AlgorithmDeviceTypeAvailable/Delete',
		method: 'post',
		data: params,
		multiPartFormData: true,
	} as AxiosRequestConfig);
}
//修改
export const upDateAlgorithmBindListApi = (params?: object) => {
	return request({
		url: '/ITS/AlgorithmDeviceTypeAvailable/Update',
		method: 'post',
		data: params,
		multiPartFormData: false,
	} as AxiosRequestConfig);
}
//详情
export const queryAlgorithmBindListApi = (params?: object) => {
	return request({
		url: '/ITS/AlgorithmDeviceTypeAvailable/Get',
		method: 'get',
		data: params,
		multiPartFormData: false,
	} as AxiosRequestConfig);
}